Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #16851 +/- ##
============================================
- Coverage 81.85% 66.97% -14.88%
============================================
Files 161 55 -106
Lines 9219 4660 -4559
============================================
- Hits 7546 3121 -4425
+ Misses 1529 1394 -135
- Partials 144 145 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
ccaf5b5 to
3038d38
Compare
a844164 to
3ae520a
Compare
3038d38 to
cc788c1
Compare
ceb5646 to
9a6ba44
Compare
cc9efeb to
023c274
Compare
Add vm version caching, randomSeed configuration to DiffTester
90468eb to
c18ed48
Compare
mbaxter
commented
Aug 1, 2025
Inphi
approved these changes
Aug 11, 2025
theochap
pushed a commit
to theochap/optimism
that referenced
this pull request
Aug 19, 2025
* Migrate first fuzz test Add vm version caching, randomSeed configuration to DiffTester * Move diffTester setup outside of fuzz function * Simplify FuzzStateSyscallBrk * Migrate FuzzStateSyscallMmap * Standardize fuzz TestOption's * Migrate FuzzStateSyscallExitGroup * Migrate FuzzStateSyscallFcntl * Migrate FuzzStateHintRead, pass step witness to PostCheckFn * Migrate FuzzStatePreimageRead * Migrate FuzzStateHintWrite * Migrate FuzzStateConsistencyMulOp * Migrate multiplication fuzz tests * Migrate FuzzStatePreimageWrite * Reuse / cache test setup when generating modifications * Fix FuzzStateHintWrite perf - calculate hint data inside of tests
leopoldjoy
pushed a commit
to leopoldjoy/optimism
that referenced
this pull request
Aug 22, 2025
* Migrate first fuzz test Add vm version caching, randomSeed configuration to DiffTester * Move diffTester setup outside of fuzz function * Simplify FuzzStateSyscallBrk * Migrate FuzzStateSyscallMmap * Standardize fuzz TestOption's * Migrate FuzzStateSyscallExitGroup * Migrate FuzzStateSyscallFcntl * Migrate FuzzStateHintRead, pass step witness to PostCheckFn * Migrate FuzzStatePreimageRead * Migrate FuzzStateHintWrite * Migrate FuzzStateConsistencyMulOp * Migrate multiplication fuzz tests * Migrate FuzzStatePreimageWrite * Reuse / cache test setup when generating modifications * Fix FuzzStateHintWrite perf - calculate hint data inside of tests
theochap
pushed a commit
to theochap/optimism
that referenced
this pull request
Aug 26, 2025
* Migrate first fuzz test Add vm version caching, randomSeed configuration to DiffTester * Move diffTester setup outside of fuzz function * Simplify FuzzStateSyscallBrk * Migrate FuzzStateSyscallMmap * Standardize fuzz TestOption's * Migrate FuzzStateSyscallExitGroup * Migrate FuzzStateSyscallFcntl * Migrate FuzzStateHintRead, pass step witness to PostCheckFn * Migrate FuzzStatePreimageRead * Migrate FuzzStateHintWrite * Migrate FuzzStateConsistencyMulOp * Migrate multiplication fuzz tests * Migrate FuzzStatePreimageWrite * Reuse / cache test setup when generating modifications * Fix FuzzStateHintWrite perf - calculate hint data inside of tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Migrate fuzz tests to use the
DiffTesterframework introduced here.As part of this migration, tweaked the
DiffTesterto improve performance:VersionedVMTestCaseobjects to be injected once to save time on setup (these are expensive to generate because we are loading / reading contract data)generateTestModifiers()And made a few other adjustments to support the tests:
DiffTesterPostStateCheckFnaccess to the finalStepWitnessproducedMetadata
Part of #16483